package Command_Pattern.Room;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class User {
    private Command command;
    public void setCommand(Command command){
        this.command=command;
    }
    public void click(){
        System.out.println("点击");
        command.display();
    }
}
